#ifndef _STATLISTNODE_H_
#define _STATLISTNODE_H_

#include <vector>

using namespace std;

#include "VecMathNode.h"
#include "StatNode.h"
#include "Token.h"

class StatListNode : public VecMathNode {
protected:
    vector<StatNode*> elements;
public:
    StatListNode(vector<StatNode*> elements):
        VecMathNode(new Token(Token::STAT_LIST)), elements(elements) { }
    void print() {
        for (VecMathNode *n : elements)
            n->print();
    }
};

#endif
